package com.haixee.parkdemo.auth.service.impl;

import com.haixee.parkdemo.auth.dao.FieldRuleCustomMapper;
import com.haixee.parkdemo.auth.model.FieldRule;
import com.haixee.parkdemo.auth.service.FieldRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FieldRuleServiceImpl implements FieldRuleService {

    @Autowired
    private FieldRuleCustomMapper fieldRuleCustomMapper;

    @Override
    public List<FieldRule> getByTable(String table) {
        return fieldRuleCustomMapper.selectByTable(table);
    }
}
